#ifndef PASSWORDMODIYDIALOG_H
#define PASSWORDMODIYDIALOG_H

#include <QDialog>
#include "../CommunicateDelegate/hmicommunicate.h"

namespace Ui {
class PasswordModiyDialog;
}

class PasswordModiyDialog : public QDialog
{
    Q_OBJECT

public:
    int userAccount;
    int changeAccount;
    QString userPassword;

    QString newPassword;

public:
    explicit PasswordModiyDialog(int styleId,QWidget *parent = 0);
    ~PasswordModiyDialog();

    bool messagePrompt();
    void updateView();

    void changeLanguage();
    void initialDisplayStyle(int styleId);

signals:
    /**
     * @brief msgBoxSignal              通知 打开消息框
     */
    void msgBoxSignal(int type,QString title,QString text);

    void modifySignal();

private slots:
    void on_cancel_Btn_clicked();

    void on_confirm_Btn_clicked();

    void on_Guest_Btn_clicked();

    void on_Admin_Btn_clicked();

private:
    Ui::PasswordModiyDialog *ui;
};

#endif // PASSWORDMODIYDIALOG_H
